package com.irdstudio.cdp.pboc.service.dao;

import java.util.List;

import com.irdstudio.cdp.pboc.service.domain.PbocCreditqueryDetail;
import com.irdstudio.cdp.pboc.service.vo.PbocCreditqueryDetailVO;

/**
 * <p>DAO interface:信贷审批查询记录明细				<p>
 * @author ligm
 * @date 2018-12-26
 */
public interface PbocCreditqueryDetailDao {
	/**
	 * TODO: <br>
	 *
	 * 0.1:caoxin:2019/5/10 15:37: TODO: <br>
	 * @author caoxin
	 * @return
	 * @since 2019/5/10 15:37
	 * @date 2019/5/10 15:37
	 * @version 0.1
	 */
	public int insertPbocCreditqueryDetail(PbocCreditqueryDetail pbocCreditqueryDetail);
	
	public int deleteByPk(PbocCreditqueryDetail pbocCreditqueryDetail);
	
	public int updateByPk(PbocCreditqueryDetail pbocCreditqueryDetail);
	
	public PbocCreditqueryDetail queryByPk(PbocCreditqueryDetail pbocCreditqueryDetail);
	
	public List<PbocCreditqueryDetail> queryAllOwnerByPage(PbocCreditqueryDetailVO pbocCreditqueryDetail);
	
	public List<PbocCreditqueryDetail> queryAllCurrOrgByPage(PbocCreditqueryDetailVO pbocCreditqueryDetail);
	
	public List<PbocCreditqueryDetail> queryAllCurrDownOrgByPage(PbocCreditqueryDetailVO pbocCreditqueryDetail);
//	@author:liuty
//	@date:2019/10/17
//	涉及产品:税e贷
//	功能:根据ReportId查询
//	原因:增量投产只投了接口没投实现，编译报错因此注释，不影响当前产品实际业务
//	List<PbocCreditqueryDetail> selectByReportId(PbocCreditqueryDetail queryPbocCreditqueryDetail);

//	List<PbocCreditqueryDetail> queryByReportIds(@Param("ids")List<String> ids);
	/**
	 * 需求编号:2019D0519
	 * 问题编号:
	 * 开发人员: caoxin
	 * 创建日期:2019/7/19
	 * 功能描述:通过reportId查询 信贷审批查询记录明细 获取最近三次征信查询reportId
	 * 修改日期:2019/7/19
	 * 修改描述:
	 */
	public PbocCreditqueryDetail queryAllByReportId(PbocCreditqueryDetail pbocCreditqueryDetail);


}
